import ruleOpt from '@/biz/option/rule.js'
let _this = null

function options(vm) {
  _this = vm
  let arr = [
    {
      title: '商务点数',
      key: 'commercePoints',
      placeholder: '请输入商务点数',
      input: { maxlength: 200 },
      rules: [ruleOpt.required('请输入商务点数', 'string')]
    },
    {
      title: '调整内容',
      key: 'adjustingContent',
      placeholder: '请输入调整内容',
      input: { maxlength: 200 }
    },
    {
      title: '预估理论收入',
      key: 'estimateIncome',
      placeholder: '请输入预估理论收入',
      input: { type: 'number', unit: '万元', max: 2147483647 }
    }
  ]

  return arr
}

export default {
  options
}
